home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
gnulib
/
libsrc98.zoo
/
strupr.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-10
|
345b
|
21 lines
/* hohmuth 1-Nov-92, derived from strlwr.c */
#include <ctype.h>
#include <string.h>
char *strupr(string)
register char *string;
{
register char *p = string;
if(p)
{
while(*string)
{
if(islower(*string))
*string = toupper(*string);
++string;
}
}
return(p);
}